package com.wanmait.baohan.mapper;



import com.wanmait.baohan.pojo.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Supplier record);

    int insertSelective(Supplier record);

    Supplier selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Supplier record);

    int updateByPrimaryKey(Supplier record);

    List<Supplier> selectAll();

    List<Supplier> selectAllot(@Param("su") Supplier supplier);

    Supplier selectById(Integer id);

    Supplier findSupplierByName(String name);
}